"; // use one form so it remembers filter selections while choosing a drive. // Bug fix 20220608. Form is closed in filtermenu().
if (array_key_exists('filter', $_POST)) {
filtermenu($filterArr);
} else {
filtermenu(array("All"));
}
// include "../drvpopupdz.inc"; // old method just produced one popup menu with all drives.
include "DataDownload.inc";
if (array_key_exists('dayselected', $_POST)) {
$day = trim($_POST['dayselected']);
$day = strip_tags($day);
if (((strlen($day) == 8) or (strlen($day) == 11)) and ((substr($day, 0, 4)=="2014") or (substr($day, 0, 4)=="2015") or (substr($day, 0, 4)=="2016") or (substr($day, 0, 4)=="2017") or (substr($day, 0, 4)=="2018") or (substr($day, 0, 4)=="2022")))
{
echo "
" . $day." is currently selected.
\n";
if (($day=="20180228") or ($day=="20180301")) {
print "
See York small sensor data below graph.
";
}
DataDownloadPreamble();
DataDownloadTableMobileLab($day);
if (file_exists("../../data/MobileLab/kml/drive$day.kml.zip")) {
print "